<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en-us" xml:lang="en-us">
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="DC.Type" content="topic">
  <meta name="DC.Title" content="Failed to Scan Resources in the FusionOne Compute Production Environment or the Scanning Result Is Delayed">
  <meta name="product" content="">
  <meta name="DC.Relation" scheme="URI" content="en-us_topic_0000002199966825.html">
  <meta name="prodname" content="">
  <meta name="version" content="">
  <meta name="brand" content="">
  <meta name="DC.Publisher" content="20250306">
  <meta name="prodname" content="csbs">
  <meta name="documenttype" content="usermanual">
  <meta name="DC.Format" content="XHTML">
  <meta name="DC.Identifier" content="EN-US_TOPIC_0000002200001265">
  <meta name="DC.Language" content="en-us">
  <link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
  <title>Failed to Scan Resources in the FusionOne Compute Production Environment or the Scanning Result Is Delayed</title>
 </head>
 <body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px">
  <a name="EN-US_TOPIC_0000002200001265"></a><a name="EN-US_TOPIC_0000002200001265"></a>
  <h1 class="topictitle1">Failed to Scan Resources in the FusionOne Compute Production Environment or the Scanning Result Is Delayed</h1>
  <div>
   <div class="section">
    <h4 class="sectiontitle">Symptom</h4>
    <p>A resource scanning job (automatically, manually, or periodically triggered after resource access) is executed in the FusionOne Compute production environment. When there are thousands of VMs in the production environment, the scanning job times out and fails; alternatively, the scanning result is relatively delayed (the result of the last triggered scanning is displayed for the current scanning job).</p>
   </div>
   <div class="section">
    <h4 class="sectiontitle">Possible Cause</h4>
    <p>If there are a large number of VMs, FusionOne Compute resource scanning may time out.</p>
   </div>
   <div class="section">
    <h4 class="sectiontitle">Troubleshooting</h4>
    <ol id="EN-US_TOPIC_0000002200001265__en-us_topic_0000002164606386_ol229094820278">
     <li id="EN-US_TOPIC_0000002200001265__en-us_topic_0000002164606386_li331241610329"><span>Use PuTTY to log in to the CLI of the storage system as user <strong id="EN-US_TOPIC_0000002200001265__en-us_topic_0000002164606386_b1729204517542">admin</strong>.</span></li>
     <li id="EN-US_TOPIC_0000002200001265__en-us_topic_0000002164606386_li7312111673211"><span>Run the following command to enter the GaussDB container.</span><p></p><pre class="screen" id="EN-US_TOPIC_0000002200001265__en-us_topic_0000002164606386_screen1557511425518">change container_application view pod_name=gaussdb-0 namespace=dpa container_name=gaussdb</pre> <p></p></li>
     <li id="EN-US_TOPIC_0000002200001265__en-us_topic_0000002164606386_li1031211614327"><span>Run the following commands to access the PROTECT_MANAGER database:</span><p></p><pre class="screen" id="EN-US_TOPIC_0000002200001265__en-us_topic_0000002164606386_screen390215508519">sudo /opt/script/gauss_operation.sh "enter_sql" "PROTECT_MANAGER"</pre>
      <div class="p" id="EN-US_TOPIC_0000002200001265__en-us_topic_0000002164606386_p15803106152516">
       Example:
       <pre class="screen" id="EN-US_TOPIC_0000002200001265__en-us_topic_0000002164606386_screen16444411428">[GaussOp@gaussdb-0 gaussdb]$ sudo /opt/script/gauss_operation.sh "enter_sql" "PROTECT_MANAGER"
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
100 19170 0 19170 0 0 780k 0 --:--:-- --:--:-- --:--:-- 748k
[2022-09-26 09:17:25][INFO][login database: protect_manager.][GaussDB][55][enter_database]
gsql (9.2.4)
SSL connection (cipher: ECDHE-RSA-AES256-GCM-SHA384, bits: 256)
Type "help" for help.

PROTECT_MANAGER=# </pre>
      </div> <p></p></li>
     <li id="EN-US_TOPIC_0000002200001265__en-us_topic_0000002164606386_li4610152912818"><a name="EN-US_TOPIC_0000002200001265__en-us_topic_0000002164606386_li4610152912818"></a><a name="en-us_topic_0000002164606386_li4610152912818"></a><span>Run the following command to change the timeout interval allowed by the job:</span><p></p><pre class="screen" id="EN-US_TOPIC_0000002200001265__en-us_topic_0000002164606386_screen1647812563">update t_config set VALUE='<em id="EN-US_TOPIC_0000002200001265__en-us_topic_0000002164606386_i124796213610">Timeout interval</em>' where KEY='agent_default_feign_readTimeOut';</pre>
      <div class="p" id="EN-US_TOPIC_0000002200001265__en-us_topic_0000002164606386_p279715449260">
       Assume the timeout interval is set to 10 minutes:
       <pre class="screen" id="EN-US_TOPIC_0000002200001265__en-us_topic_0000002164606386_screen2061113297284">update t_config set VALUE='600' where KEY='agent_default_feign_readTimeOut';</pre>
      </div> <p></p></li>
     <li id="EN-US_TOPIC_0000002200001265__li119201834113011"><span>Use PuTTY to log in to the host where the client is to be installed as user <strong id="EN-US_TOPIC_0000002200001265__en-us_topic_0000002164606386_en-us_topic_0000002164790296_en-us_topic_0000002200031305_b916917212">root</strong>.</span></li>
     <li id="EN-US_TOPIC_0000002200001265__en-us_topic_0000002164606386_li0939738203016"><span>Run the following command to edit the client configuration file. The value of <strong id="EN-US_TOPIC_0000002200001265__en-us_topic_0000002164606386_b8842133212562">thrift_time_out</strong> in the client configuration file must be the same as the timeout interval set in <a href="#EN-US_TOPIC_0000002200001265__en-us_topic_0000002164606386_li4610152912818">4</a>.</span><p></p><p id="EN-US_TOPIC_0000002200001265__en-us_topic_0000002164606386_p1743510163298">Assume the client installation directory is <strong id="EN-US_TOPIC_0000002200001265__en-us_topic_0000002164606386_b239142614187">/opt</strong>:</p> <pre class="screen" id="EN-US_TOPIC_0000002200001265__en-us_topic_0000002164606386_screen16260817123011">vi /opt/DataBackup/ProtectClient/ProtectClient-E/conf/agent_cfg.xml</pre> <p id="EN-US_TOPIC_0000002200001265__en-us_topic_0000002164606386_p19542821018">Change the value of <strong id="EN-US_TOPIC_0000002200001265__en-us_topic_0000002164606386_b6330151817416">thrift_clent_send_timeout</strong> and <strong id="EN-US_TOPIC_0000002200001265__en-us_topic_0000002164606386_b743764393116">thrift_time_out</strong> to <strong id="EN-US_TOPIC_0000002200001265__en-us_topic_0000002164606386_b84191048104817">600000</strong> in <strong id="EN-US_TOPIC_0000002200001265__en-us_topic_0000002164606386_b241915481489">agent_cfg.xml</strong>.</p> <p id="EN-US_TOPIC_0000002200001265__en-us_topic_0000002164606386_p076412178479"><span><img id="EN-US_TOPIC_0000002200001265__en-us_topic_0000002164606386_image9256142411109" src="en-us_image_0000002184591754.png"></span></p> <p></p></li>
     <li id="EN-US_TOPIC_0000002200001265__en-us_topic_0000002164606386_li25341145114913"><span>In the <em id="EN-US_TOPIC_0000002200001265__en-us_topic_0000002164606386_i169516315414">Client installation directory</em><strong id="EN-US_TOPIC_0000002200001265__en-us_topic_0000002164606386_b295114355412">/DataBackup/ProtectClient</strong> directory, run the <strong id="EN-US_TOPIC_0000002200001265__en-us_topic_0000002164606386_b137491225677">sh </strong><strong id="EN-US_TOPIC_0000002200001265__en-us_topic_0000002164606386_b105337456492">stop.sh</strong> and <strong id="EN-US_TOPIC_0000002200001265__en-us_topic_0000002164606386_b158331533872">sh </strong><strong id="EN-US_TOPIC_0000002200001265__en-us_topic_0000002164606386_b111341458104920">start.sh</strong> commands in sequence to restart the client.</span></li>
     <li id="EN-US_TOPIC_0000002200001265__en-us_topic_0000002164606386_li133571296321"><span>Re-execute the resource scanning job. If the fault persists, perform the resource scanning job again.</span></li>
    </ol>
   </div>
  </div>
  <div>
   <div class="familylinks">
    <div class="parentlink">
     <strong>Parent topic:</strong> <a href="en-us_topic_0000002199966825.html">FAQs</a>
    </div>
   </div>
  </div>
 </body>
</html>